
package android.net.quic.enumerations;

public enum QuicRstStreamErrorCode {
    QUIC_STREAM_NO_ERROR,

    // There was some error which halted stream processing.
    QUIC_ERROR_PROCESSING_STREAM,
    // We got two fin or reset offsets which did not match.
    QUIC_MULTIPLE_TERMINATION_OFFSETS,
    // We got bad payload and can not respond to it at the protocol level.
    QUIC_BAD_APPLICATION_PAYLOAD,
    // Stream closed due to connection error. No reset frame is sent when this
    // happens.
    QUIC_STREAM_CONNECTION_ERROR,
    // GoAway frame sent. No more stream can be created.
    QUIC_STREAM_PEER_GOING_AWAY,
    // The stream has been cancelled.
    QUIC_STREAM_CANCELLED,

    // No error. Used as bound while iterating.
    QUIC_STREAM_LAST_ERROR
};
